package com.zdb.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("Articles")
public class Article {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;
    private String content;
    private Long userId;
    private String  coverUrl;
    private Integer viewCount;
    private Integer likeCount;
    private String  videoUrl;
    private Integer isVisible;
    private Date createdAt;
    private Date updatedAt;
}
